import { get, post, del } from "../util/request";
//收货地址新增
export const addaddress = (data) => {
  return post("/api/v1/addresses", data);
};
//收货地址列表
export const getaddresses = () => get("/api/v1/addresses");
//收获单条收货地址
export const getaddress = (id) => get("/api/v1/addresses/" + id);
